﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:mainmenu="clr-namespace:Peter.Common.MainMenu;assembly=Peter.Common"
                    xmlns:bc="clr-namespace:Peter.Common.BindingConverters;assembly=Peter.Common">

   <Style TargetType="{x:Type MenuItem}"
          x:Key="separatorStyle">
      <Setter Property="Template">
         <Setter.Value>
            <ControlTemplate TargetType="{x:Type MenuItem}">
               <Separator HorizontalAlignment="Stretch"
                          Margin="2,4"
                          IsEnabled="false" />
            </ControlTemplate>
         </Setter.Value>
      </Setter>
   </Style>

   <BooleanToVisibilityConverter x:Key="_BoolToVisi" />
   <mainmenu:MainMenuIconConverter x:Key="_IconConverter" />
   <bc:IconDisplayConverter x:Key="_IconDisplay" />
   <mainmenu:MainMenuMenuItemStyleSelector x:Key="_MenuItemStyleSelector" />
   <bc:PluralizeConverter x:Key="_Pluralizer" />

</ResourceDictionary>